import request from '@/utils/request'

// 查询学校解锁记录列表
export function listClassessendschool(data) {
  return request({
    url: '/school/classessendschool/list',
    method: 'post',
    data: data
  })
}

// 查询学校解锁记录详细
export function getClassessendschool(id) {
  return request({
    url: '/school/classessendschool/' + id,
    method: 'get'
  })
}

// 新增学校解锁记录
export function addClassessendschool(data) {
  return request({
    url: '/school/classessendschool/add',
    method: 'post',
    data: data
  })
}

// 修改学校解锁记录
export function updateClassessendschool(data) {
  return request({
    url: '/school/classessendschool/edit',
    method: 'post',
    data: data
  })
}

// 删除学校解锁记录
export function delClassessendschool(id) {
  return request({
    url: '/school/classessendschool/remove/' + id,
    method: 'post'
  })
}
